<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #div1 {
            height: 1000px;
            background: red;
        }

        #div2 {
            height: 1008px;
            background: green;
        }

        #div3 {
            height: 1000px;
            background: yellow;
        }
    </style>
</head>

<body>
    <a href="#div3">跳转</a>
        <div id="div1"></div>
        <div id="div2"></div>
        <div id="div3"></div>

</body>

</html>